haskellPackages: _ prefix attribute names that would need quoting#453366
haskellPackages: _ prefix attribute names that would need quoting#453366sternenseemann merged 2 commits intoNixOS:haskell-updatesfrom
Conversation
|
It seems to me that we ideally merge this together with an update to cabal2nix that makes it also generate function arguments in this scheme. I'm currently chipping away at this. First, I need to release language-nix 2.3.0 for which I'm in the process of expanding test coverage which also entails fixing some bugs, but I've got the bulk of the work done (locally), I think. After that, we can release cabal2nix for which I don't see many blockers except finalizing changelogs and merging the attribute mangling PR. |
1eae2f6 to
4b03478
Compare
|
Also run Nix based test cases of the language-nix test suite.
4b03478 to
071415e
Compare
| # Cabal doesn't allow us to properly specify the test dependency | ||
| # on nix-instantiate(1). Even though we're just evaluating pure code, | ||
| # it absolutely wants to write to disk. |
There was a problem hiding this comment.
Can nix-instantiate --readonly-mode help here?
(didn't check whether we're already using it)
There was a problem hiding this comment.
I tested it, but nix-instantiate still tries to create profiles, so I didn't bother adding it. I mean, --readonly-mode just tells it not to write anything to the store when it would have to, but this is never the case in the test suite.
In order not to break downstream expressions that (manually) introduced dependencies on now renamed attributes, add aliases (with proper warnings about the renames) for all attributes that were previously part of Nixpkgs, but have been renamed with this change.
071415e to
8780e5b
Compare
d739a50
|
Caused minor eval failure in |
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.